﻿using System;

namespace NothingButBank
{
    class AccountTransaction
    {
        private DateTime date;
        private double amount;

        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }

        public double Amount
        {
            get { return amount; }
            set { amount = value; }
        }

        public AccountTransaction(DateTime transactionDate, double transactionAmount)
        {
            date = transactionDate;
            amount = transactionAmount;
        }
    }
}
